package com.xl.utils.util.设计模式.build模式;

/**
 * @author xionglin
 * @date 2021/6/3 22:12
 * @Description 测试
 */
public class Test {
    public static void main(String[] args) {
        People buildPeople = People.builder().age(18).address("贵州贵阳").tel("18798851389").build();
        System.out.println(buildPeople);
        System.out.println(new People("xl","贵州贵阳","18798851389"));
    }
}
